package com.bihucms.ssm.util;

import java.util.UUID;

/**
 * UUID生成器
 * Created by benhailong on 2017/10/19.
 */
public class UuidUtil {
    public static String uuid(){
        String uuid = UUID.randomUUID().toString().replaceAll("-","");
        return uuid;
    }

    public static void main(String[] args) {
        System.out.println(uuid());
    }
}
